package com.nm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;

/**
 * Created by zhangyaosheng on 2018/5/4.
 */
@Controller
public class jumpController {
    @RequestMapping("/apply")
    public String apply(HttpServletRequest request) {
        return "application";
    }

    @RequestMapping("")
    public String login() {
        return "login";
    }

    @RequestMapping("/register")
    public String register() {
        return "register";
    }

    @RequestMapping("/findpwd")
    public String findPWD() {
        return "findpwd";
    }

    @RequestMapping("/sign")
    public String sign() {
        return "sign";
    }

    @RequestMapping("/checking")
    public String checking() {
        return "checking";
    }

    @RequestMapping("/successReset")
    public String successReset() {
        return "success_reset";
    }

    @RequestMapping("/successRegister")
    public String successRegister() {
        return "success_register";
    }

    @RequestMapping("/myApply")
    public String myApply() {
        return "myApply";
    }

    @RequestMapping("/items")
    public String items() {
        return "items";
    }

    @RequestMapping("/adminLogin")
    public String adminLogin() {
        return "adminLogin";
    }

    @RequestMapping("/manage")
    public String manage() {
        return "manage";
    }
//    @RequestMapping("/test")
//    public String manage(){return"manage";}
}
